﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Epam.PhotoGallery.Interfaces.DataTransferObjects;

namespace Epam.PhotoGallery.Interfaces.Providers
{
    public interface ICommunityDataProvider
    {

        Topic GetTopic(string categoryID,string topicID);

        IEnumerable<BaseTopicInfo> GetBaseTopicsInformationFromCategory(string categoryID);

        IEnumerable<Category> GetCategories();

        Category GetCategory(string categoryID);

        void AddTopic(Topic newTopic, string categoryID);

        void AddComment(Comment newComment, string topicID, string categoryID);

        void AddCategory(Category newCategory);

        void DeleteTopic(string topicID, string categoryID);

        void DeleteComment(string commentID, string topicID, string categoryID);

       

    }
}
